package com.xy.cloud.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * redis  token前缀
     */
    public static final String USER_TOKEN_PREFIX = "user:token:@username";

    /**
     * redis token过期时间 单位：秒
     */
    public static final Long USER_TOKEN_EX_SECONDS = 60L * 60L;

    /**
     * 重复提交的key
     */
    public static final String DUPLICATE_REQUESTS_PREFIX = "requests";
}
